package admin

import (
	"context"

	"zero_server/api/admin/internal/svc"
	"zero_server/api/admin/internal/types"

	"github.com/zeromicro/go-zero/core/logx"
)

type AddAdminAdminLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewAddAdminAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddAdminAdminLogic {
	return &AddAdminAdminLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *AddAdminAdminLogic) AddAdminAdmin(req *types.AddAdminAdminReq) (resp *types.AddAdminAdminResp, err error) {
	// todo: add your logic here and delete this line
	return &types.AddAdminAdminResp{
		Code:    200,
		Message: "第一次使用",
	}, nil
}
